$(function() {
  console.log(11);
  let brandtitleid = location.search.split('titleid=')[1][0];
  $.ajax({
    url: 'http://localhost:3000/api/getbrand',
    data: { brandtitleid },
    success(res) {
      console.log(res);
      $('.con ul').html(template('tmp', res));
    }
  });
});
